package com.beamfield.dao.device;

import com.beamfield.model.DevPurchDetail;
import com.beamfield.model.DevPurchDetailExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface DevPurchDetailMapper {
    int deleteByExample(DevPurchDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(DevPurchDetail record);

    int insertSelective(DevPurchDetail record);

    List<DevPurchDetail> selectByExample(DevPurchDetailExample example);

    DevPurchDetail selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") DevPurchDetail record, @Param("example") DevPurchDetailExample example);

    int updateByExample(@Param("record") DevPurchDetail record, @Param("example") DevPurchDetailExample example);

    int updateByPrimaryKeySelective(DevPurchDetail record);

    int updateByPrimaryKey(DevPurchDetail record);

    int selectPurchaseNums(@Param("beam_id")long beam_id,@Param("type")int type);


}